package com.microtf.inscription.framework.pojo.wechat.resource;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Token implements Serializable {
    Integer appId;
    @JsonProperty("access_token")
    String accessToken;
    @JsonProperty("expires_in")
    Integer expiresIn;
    Date    createDate;
    @JsonUnwrapped
    ErrorResponse errorResponse;
}
